<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=7" />
<title>产品管理</title>
<link rel="stylesheet" type="text/css" href="__PUBLIC__/style.css" />
<script src="__PUBLIC__/js/jquery.js" type="text/javascript"></script>
<script src="__PUBLIC__/artDialog/jquery.artDialog.js?skin=default" type="text/javascript"></script>
<script src="__PUBLIC__/artDialog/plugins/iframeTools.js" type="text/javascript"></script>
<script src="__PUBLIC__/js/common.js" type="text/javascript"></script>
<script src="__PUBLIC__/js/ajax.js" type="text/javascript"></script>
<script src="__PUBLIC__/js/inputpost.js" type="text/javascript"></script>
</head>
<body>
<div id="main">
    <div class="nav">
        <div class="fn-left">
        <input onclick="location.href='__URL__/edit.html'" class="button01-out" type="button" value="添加" />   
        <input class="button01-out" type="button" id="checkall1" value="全选" />
        <input class="button01-out" type="button" id="checktog1" value="反选" />
        <input class="button01-out" type="button" id="checkoff1" value="取消" />
        <input onclick="myform.submit()" class="button01-out" type="button" value="删除" /> 
        </div>
        <em class="fn-left h25">产品名称:</em>
        <div class="fn-left">
            <form method="get" action="__URL__/index.html">
             <input type="hidden" value="1" name="search" />   
             &nbsp;<input type="text" name="keyword" size="20" value="{$keyword}" class="input-text" style="height: 22px; line-height: 22px" /> <input style="border: none" class="button01-out" type="submit" value="提 交" />
        </form>
        </div>
    </div>
<div class="table-list">
<div class="btn">当前分类 : <a href="__URL__/index.html">根目录</a> >> {$path}</div>
{if is_array($class)}<div class="btn">包含子分类 : {loop $class $value} <a href="__URL__/index-{$value['id']}.html">{$value['name']}</a> | {/loop}</div>{/if}
<form name="myform" action="__URL__/index.html" method="post">
    <input type="hidden" name="action" value="alldel" />
<table width="100%" cellspacing="0" cellpadding="0">
<thead>
<tr>
    <th class="one" width="20"><input id="all" type="checkbox" name="all" value="all" /></th>
    <th width="80">操作</th>
    <th width="30">评</th>
    <th width="30">审</th>
    <th>产品名称</th>
    <th width="120">下架日期</th>
    <th width="60">市场价格</th>
    <th width="60">优惠价格</th>
    <th width="80">赠送积分</th>
    <th width="80">换购积分</th>
    <th width="40">折扣</th>
    <th class="last" width="40">推荐</th>
</tr>
</thead>
<tbody>
{loop $info $key $rs}	
<tr{if $key%2} class="sys"{/if}>
    <td class="t-c" width="20"><input cssrain="one" type="checkbox" name="fid[]" value="{$rs['id']}" /></td>
    <td class="sys t-c">
        <a href="__URL__/read-{$rs['id']}.html" title="查看"><img src="__PUBLIC__/images/icon_page.gif" /></span>
        <a href="__URL__/edit-{$rs['id']}.html" title="编辑"><img src="__PUBLIC__/images/icon_edit.gif" /></a>
        <span class="del" uid="__URL__/index-{$rs['id']}.html" title="删除"><img src="__PUBLIC__/images/icon_del.gif" /></span>
    </td>
    <td class="t-c"><span class="pt goto" uid="__URL__/comment-{$rs['id']}.html">{if $rs['comment'] == 1}<span class="hot">√</span>{else}×{/if}</span></td>
    <td class="t-c"><span class="pt goto" uid="__URL__/pass-{$rs['id']}.html">{if $rs['pass'] == 1}<span class="hot">√</span>{else}×{/if}</span></td>
    <td class="t-l"><img src="__PUBLIC__/images/icon_li.gif" /> <a href="__URL__/read-{$rs['id']}.html" title="查看">{$rs['name']}</a></td>
    <td class="t-c">{date('Y年m月d日',$rs['downdate'])}</td>
    <td class="t-c">{$rs['marketprice']}</td>
    <td class="sys t-c">{$rs['userprice']}</td>
    <td class="t-c">{if $rs['give'] == 1}{$rs['givevip']}{else}<span class="hot">×</span>{/if}</td>
    <td class="t-c">{if $rs['vip'] == 1}{$rs['vipprice']}{else}<span class="hot">×</span>{/if}</td>
    <td class="t-c">{if $rs['discount'] == 1}<span class="hot">√</span>{else}×{/if}</td>
    <td class="last t-c">{if $rs['best'] == 1}<span class="hot">√</span>{else}×{/if}</td>
</tr>
{/loop}
</tbody>  
</table>
    </form>
    <div class="btn h25">
        <div class="fn-left"></div>
        <div class="fn-right"><div id="pages">{$page}</div></div>
        <div class="fn-clear"></div>
    </div>
</div>
    </div>
</body>
</html>